<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>GETZHGDTOKEN</title>
    <link rel="stylesheet" href="popup.css">
    <script src="popup.js"></script>
    <script src="contentScript.js"></script>
  </head>

  <body>
    <!-- popup -->
    <div class="icon" id="icon">
      <img src="./sl3.png" alt="点击图片打开智慧工地平台"/>
    </div>
    <div class="btn_box">
      <div>
        <form action="demo-form.php" id="form" class="form">
          <div class="form-item"><p>端口号：</p><input type="number" name="port" class="port" value="8000"></div>
          <div class="form-item"><p>环境：</p><select id="env" name="env" class="env">
            <option value="https://zhgd-test.cscec3b-iti.com/">测试环境</option>
            <option value="https://digitalconstruction-pre.cscec3b-iti.com/" selected>预发环境-天工云</option>
            <option value="https://digitalconstruction.cscec3b.com.cn/">正式环境</option>
          </select></div>
        </form>
      </div>
      <div class="btns">
        <button id="setToken">设置token</button>
        <button id="getToken" style="border-color: #909399;">获取token</button>
      </div>
    </div>
  </body>

</html>
